/*
 * @Author: your name
 * @Date: 2021-04-23 14:47:05
 * @LastEditTime: 2021-04-23 15:35:39
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \fantasticit\src\services\modules\about.ts
 */
/*
 * @Author: your name
 * @Date: 2021-04-21 18:42:57
 * @LastEditTime: 2021-04-21 23:35:24
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \fantasticit\src\services\comment.ts
 */
// !!!关于
// 引入request 
import { request } from 'umi'

//获取 关于 留言板
export function getabout() {
    return request('/api/page/about/')
}

//获取 关于  评论列表接口 
export function getaboutList(hostId:string,page=1,pageSize=6) {
    return request(`/api/comment/host/${hostId}`,{
        params:{
            page, 
            pageSize
        }
    })
}
